package cn.iocoder.yudao.module.fengdong.smartelderly.convert.complaint;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.complaint.vo.*;
import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.complaint.ComplaintDO;

/**
 * 投诉管理 Convert
 *
 * @author 沣东养老院管理员
 */
@Mapper
public interface ComplaintConvert {

    ComplaintConvert INSTANCE = Mappers.getMapper(ComplaintConvert.class);

    ComplaintDO convert(ComplaintCreateReqVO bean);

    ComplaintDO convert(ComplaintUpdateReqVO bean);

    ComplaintRespVO convert(ComplaintDO bean);

    List<ComplaintRespVO> convertList(List<ComplaintDO> list);

    PageResult<ComplaintRespVO> convertPage(PageResult<ComplaintDO> page);

    List<ComplaintExcelVO> convertList02(List<ComplaintDO> list);

    ComplaintDO convertDispose(ComplaintUpdatedisposeReqVO updateReqVO);
}
